3397. Maximum Number Of Distinct Elements After Operations